runtime.mheap.sweepPagesPerByte (field)
9 uses
runtime (current package)
mgc.go#L1568: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L180: print("pacer: sweep done at heap size ", live>>20, "MB; allocated ", (live-mheap_.sweepHeapLiveBasis)>>20, "MB during sweep; swept ", mheap_.pagesSwept.Load(), " pages at ", mheap_.sweepPagesPerByte, " pages/byte\n")
mgcsweep.go#L882: if mheap_.sweepPagesPerByte == 0 {
mgcsweep.go#L915: pagesTarget := int64(mheap_.sweepPagesPerByte*float64(newHeapLive)) - int64(callerSweepPages)
mgcsweep.go#L918: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L951: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L972: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L974: mheap_.sweepPagesPerByte = float64(sweepDistancePages) / float64(heapDistance)
mheap.go#L107: sweepPagesPerByte float64 // proportional sweep ratio; written with lock, read without
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |